package com.example.userservice.common.exception;


import com.example.userservice.common.enums.ResultCode;
import lombok.Getter;

/**
 * 功能描述:
 *
 * @author Lenovo
 * @date 2025/3/20
 */
@Getter
public class ServiceException extends RuntimeException{
    private ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
